<?php

final class View {
	
	public function render($name,$no_include=false) {
		if($no_include) {
			require 'app/view/'.$name.'.php';
		} else {
			require 'app/view/header.php';
			require 'app/view/'.$name.'.php';
			require 'app/view/footer.php';
		}
	}
}

?>